package com.zhiyou100.dao;

import com.zhiyou100.emtity.Activity;

import java.util.List;

/**
 * @description:
 * @author: 马跃
 * @create: 2021-01-20 22:09
 **/
public interface ActivityDao {
    List<Activity> queryAll();

    void add(Activity activity);

    void delete(int id);

    Activity query(int id);

    void update(Activity activity);
}
